<?php
namespace app\common\component\user_sign;

class UserSignModel extends \think\Model {
	protected $table = 'league_user_sign';

	public function getLevelAttr($value) {
		$level = [
			0 => '[LV.0]小小米粉',
			1 => '[LV.1]初来米粉',
			2 => '[LV.2]米坛新人',
			3 => '[LV.3]米坛熟人',
			4 => '[LV.4]米坛新星',
			5 => '[LV.5]普通米粉'
		];
		return $level[$value];
	}
}
?>